package org.willthink.service.freeboard.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

import org.apache.log4j.Logger;
import org.willthink.dao.freeboard.FreeBoardDAO;
import org.willthink.service.freeboard.FreeBoardService;

public class FreeBoardServiceImpl implements FreeBoardService {

	
	private Logger logger = Logger.getLogger(getClass());
	private FreeBoardDAO dao;	
	
	public void setDao(FreeBoardDAO dao) {
		this.dao = dao;
	}

	@Override
	public List<HashMap> list(HashMap inData) throws SQLException {
		List resultList = dao.list(inData);
		return resultList;
	}

}
